package com.cskaoyan.common.mapper;

import com.cskaoyan.common.bean.model.MarketAd;
import com.cskaoyan.common.bean.model.MarketAdExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MarketAdMapper {
    long countByExample(MarketAdExample example);

    int deleteByExample(MarketAdExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketAd row);

    int insertSelective(MarketAd row);

    List<MarketAd> selectByExample(MarketAdExample example);

    MarketAd selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") MarketAd row, @Param("example") MarketAdExample example);

    int updateByExample(@Param("row") MarketAd row, @Param("example") MarketAdExample example);

    int updateByPrimaryKeySelective(MarketAd row);

    int updateByPrimaryKey(MarketAd row);
}